<!DOCTYPE>
<html >
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <title>五十度APP-提现</title>
    <style>
    	p{margin: 0px;padding: 0px;}
    	.default {color: #fff;font-family:PingFangSC-Regular;font-weight:400;color:rgba(255,255,255,1);}
    	.input{font-size:18px;font-family:PingFangSC-Regular;font-weight:400;color:rgba(118,129,150,1); border: 0px;padding-left: 20px;}
    	#save{ margin-top:30px;font-size: 20px;width:300px;height:50px;background:rgba(234,106,135,1);box-shadow:0px 10px 20px 0px rgba(0,0,0,0.1);border-radius:40px; color: #fff;}
    </style>
</head>
<body style="text-align: center;    margin: 0px;padding: 0px;">
	<div style=" background-image:url('/images/bg_app.png');    padding-bottom: 30px;">
		<p style="font-size:20px;padding-top: 20px;" class="default">提现</p>
		<p style="font-size:40px; margin-top: 30px;" class="default">${free_hot?default('0')}</p>
		<p style="font-size:16px;margin-top: 5px;" class="default">温度</p>
		<p style="font-size:16px;margin-top: 15px;" class="default">100温度=1元人民币 最低提现30000温度</p>
	</div>
	<div style=" border-bottom: 1px solid #EEEEEE;height: 60px;    text-align: left;margin-top: 40px;">
		<span style="margin-left: 15px;width:70px;font-size:20px;font-family:PingFangSC-Regular;font-weight:400;color:rgba(13,14,21,1);">支付宝账号</span>
		<span style="font-size:20px;font-family:PingFangSC-Regular;font-weight:400;color:rgba(118,129,150,1);"><input id="account" class="input" placeholder="支付宝账号" /></span>
	</div>
	<div style=" background:rgba(255,255,255,1);height: 100px; padding-top: 20px;border-bottom: 1px solid #EEEEEE;">
		<p style="margin-left: 15px;font-size:20px;font-family:PingFangSC-Regular;font-weight:400;color:rgba(13,14,21,1);text-align: left;" class="default">提现金额</p>
		<p style="margin-left: 15px;text-align: left;margin-top: 20px;"><img src="/images/RMB.png" /><input id="money" class="input" placeholder="最少提现金额为 300.00 元" /></p>
	</div>
	    
	<p style="margin-left: 15px;margin-top: 30px;color:rgba(153,153,153,1);text-align: left; font-family:PingFangSC-Regular;"><img src="/images/info.png" width="16"/> <span>申请提现后三个工作日内到账</span></p>
	
	<p  style="text-align: center;"><input type="button" value="确定" id="save" /></p>
	
<script src="/js/jquery-2.1.4.min.js" type="text/javascript"></script>
<script type="text/javascript">
$("#save").click(function (){
	var account = $("#account").val();
	var money = $("#money").val();
	$.post("/user/apply_out",
	   		{"token":"${token?default('0')}","money":money,"account":account},function(data){
	   			console.log(data);
	   			var json  = JSON.parse(data); 
	   			console.log(json);
	   			alert(json.errmsg);
	   		}
	 );	
});
</script>
</body>
</html>